package databaseservice;

import java.rmi.Remote;
import java.rmi.RemoteException;

import po.*;

public interface MemberPOService extends Remote {
	/**
	 * @author WangChen
	 * @since 2012.10.21
	 */
	public boolean add(MemberPO o)throws RemoteException;

	public boolean delete(MemberPO o)throws RemoteException;

	public boolean alter(MemberPO o)throws RemoteException;

	public MemberPO search(int memberID)throws RemoteException;
	
	public boolean addAnCollect(int memberID,int bookID)throws RemoteException;
	
	public boolean deleteAnCollect(int memberID,int bookID)throws RemoteException;
}
